<template>
  <div>
    <van-nav-bar
      title="全部分类"
      left-text="返回"
      left-arrow
      @click-left="onClickLeft"
      @click-right="onClickRight"
    />
  </div>
</template>

<script>
import { Toast } from 'vant'
export default {
  name: 'FissionFriendsH5ClassNavBar',
  setup() {
    const onClickLeft = () => history.back()
    const onClickRight = () => Toast('按钮')
    return {
      onClickLeft,
      onClickRight
    }
  }
}
</script>

<style lang="scss" scoped></style>
